package jccr;

import java.util.logging.*;

public class Log {
	
	public static void e( String msg ) {
		logger().log( Level.SEVERE, msg );
	}
	
	public static void e( String msg, Throwable thrown ) {	
		logger().log( Level.SEVERE, msg, thrown );
	}
	
	public static void i( String msg, Throwable thrown ) {
		logger().log( Level.INFO, msg, thrown);
	}
	
	public static Logger logger() {
		
		return Logger.getLogger("jccr");
	}
}
